require 'httparty'

query = HTTParty.post("https://shop-api.aboutyou.de/api",
{ 
  :body=>
  '[{
    "products": {
        "ids": [
            144388,
            144389
        ],
        "fields": [
            "id",
            "name",
            "active",
            "brand_id",
            "description_long",
            "description_short",
            "default_variant",
            "variants",
            "min_price",
            "max_price",
            "sale",
            "default_image",
            "attributes_merged",
            "categories"
        ]
    }
}]',
  :basic_auth => { :username => 281 , :password => 'e6068c4ca020262613d06122663cb300'},
  :headers => { 'Content-Type' => 'application/json',
                'Accept-Encoding' => 'gzip,deflate'  }
})

puts query